package com.tgl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.http.MediaType;
import org.springframework.web.reactive.config.EnableWebFlux;
import org.springframework.web.reactive.config.WebFluxConfigurer;
import org.springframework.web.reactive.function.server.RequestPredicates;
import org.springframework.web.reactive.function.server.RouterFunction;
import org.springframework.web.reactive.function.server.RouterFunctions;
import org.springframework.web.reactive.function.server.ServerResponse;
import reactor.core.publisher.Mono;

/**
 * @author tonggl
 * @date 2024/7/22 17:28
 * @description TODO
 */
@SpringBootApplication
@EnableWebFlux
public class PongApplication implements WebFluxConfigurer {

    public static void main(String[] args) {
        SpringApplication.run(PongApplication.class, args);
    }

}
